package scau.hotel.hotel_model.exception;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import scau.hotel.hotel_model.controller.RespBeanEnum;

/*
*
* 自定义异常
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomException extends RuntimeException {

    private String message;

    private RespBeanEnum respBeanEnum;

}